package com.zwps.biz.dal.db.object;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.zwps.biz.dal.constant.TableNameConstant;
import lombok.Data;

/**
 * 
 * @TableName sys_user
 */
@TableName(TableNameConstant.SYS_USER)
@Data
public class SysUserDO implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer userId;

    /**
     * 
     */
    private String usercode;

    /**
     * 
     */
    private String userseq;

    /**
     * 
     */
    private String username;

    /**
     * 
     */
    private String rscd;

    /**
     * 
     */
    private String description;

    /**
     * 
     */
    private String password;

    /**
     * 
     */
    private String rolename;

    /**
     * 
     */
    private String organizename;

    /**
     * 
     */
    private String configjson;

    /**
     * 
     */
    private Byte isenable;

    /**
     * 
     */
    private Integer logincount;

    /**
     * 
     */
    private Date lastlogindate;

    /**
     * 
     */
    private String createperson;

    /**
     * 
     */
    private Date createdate;

    /**
     * 
     */
    private String updateperson;

    /**
     * 
     */
    private Date updatedate;

    /**
     * 
     */
    private Integer isDelete;

    /**
     * 电话
     */
    private String telephone;

    /**
     * 
     */
    private String token;

    /**
     * 
     */
    private Date tokenTime;
    @TableField(exist = false)
    private Integer roleId;
    @TableField(exist = false)
    private String roleName;
    @TableField(exist = false)
    private String roleCode;

    public String getRoleName() {
        return roleName;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public String getRoleCode() {
        return roleCode;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public void setRoleCode(String roleCode) {
        this.roleCode = roleCode;
    }

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}